package htj.myspring.entity;

import htj.myspring.annotation.Autowired;
import htj.myspring.annotation.Component;
import htj.myspring.annotation.Qualifier;
import htj.myspring.annotation.Value;
import lombok.Data;

@Data
@Component
public class Account {
    @Value("100")
    private Integer id;
    @Value("张三")
    private String name;
    @Autowired
    @Qualifier("person")
    private Person person;
}
